package com.homer.iot.esptouch.model;

import com.homer.iot.esptouch.tcp.UartTCPUtil;

public class SmokeSensor extends Slaver{
	public SmokeSensor(String id, String type) {
		super(id, type);		
	}
	
	public  Byte getSmokeDetection(){
		return UartTCPUtil.getSmokeDetection(this.device.getDeviceIP());
	}
}